package com.ktjy.mapper;

import com.ktjy.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    public List<StorageRecord> getStorageRecords(
                                                 @Param("goodsName") String goodsName,
                                                 @Param("supplierId") int supplierId,
                                                 @Param("payStatus") int payStatus,
                                                 @Param("pageBegin") int pageBegin,
                                                 @Param("pageSize") int pageSize);
    public int add(StorageRecord record);
    public int update(StorageRecord record);
    public StorageRecord selectById(int id);
    public int deleteById(int id);

}
